package com.example.demo3.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo3.entity.CodeAction;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 行动码 Mapper 接口
 * </p>
 *
 * @author xsyuan
 * @since 2020-03-27
 */
public interface CodeActionMapper extends BaseMapper<CodeAction> {

    int countPage(Map<Object ,Object> map);

    List<CodeAction> queryPage(Map<Object ,Object> map);

    List<CodeAction> findByMap(Map<String,Object> map);

    boolean checkByMap(Map<String,Object> map);
     /**
       * @description 通过Map删除
       * @author: xsyuan
       * @date: 2020/3/30 12:30
       * @param
       * @return
       */
    void updateByIds(Map<String , Object> map);

}
